package com.tom.architect02.mnbase.jetpack.dagger2;


import com.tom.architect02.mnbase.jetpack.dagger2.object.HttpObject;
import com.tom.architect02.mnbase.jetpack.dagger2.scope.AppScope;
import javax.inject.Singleton;
import dagger.Module;
import dagger.Provides;

/**
 * 用来提供对象
 */
@AppScope
@Module
public class HttpModule {

    @AppScope
    @Provides
    public HttpObject providerHttpObject(){
        //........
        return new HttpObject();
    }

//    @Provides
//    public Object abcd(){
//        return new Object();
//    }

}
